#ifndef THMAR_TYPES_H
#define THMAR_TYPES_H

#define THMR_OK 0
#define THMR_ERROR -1
#define THMR_UNKNOWN_ERROR -2
#define THMR_NULL_POINTER -3
#define THMR_MQTT_ERROR -4
#define THMR_JSON_ERROR -5
#define THMR_REQUEST_ERROR -6
#define THMR_RESPONSE_ERROR -7
#define THMR_TIMEOUT -8
#define THMR_NOT_SUPPORTED -9
#define THMR_INVALID_PARAMETER -10
#define THMR_INVALID_STATE -11
#define THMR_INVALID_FORMAT -12
#define THMR_INVALID_DATA -13
#define THMR_INVALID_LENGTH -14
#define THMR_INVALID_RANGE -15
#define THMR_JSON_CREATE_ARRAY_FAILED -16
#define THMR_JSON_CREATE_OBJECT_FAILED -17
#define THMR_JSON_PRINT_FAILED -18
#define THMR_SUBSCRIBE_FAILED -19
#define THMR_UNSUBSCRIBE_FAILED -20
#define THMR_PUBLISH_FAILED -21
#define THMR_DISCONNECT_FAILED -22
#define THMR_CONNECT_FAILED -23
#define THMR_MQTT_INIT_FAILED -24
#define THMR_MQTT_LOOP_FAILED -25
#define THMR_MQTT_CONNECT_FAILED -26
#define THMR_MQTT_DISCONNECT_FAILED -27
#define THMR_MQTT_SUBSCRIBE_FAILED -28
#define THMR_MQTT_UNSUBSCRIBE_FAILED -29
#define THMR_MQTT_PUBLISH_FAILED -30
#define THMR_MQTT_MESSAGE_ERROR -31
#define THMR_MQTT_MESSAGE_TIMEOUT -32
#define THMR_SET_CALLBACK_FAILED -33
#define THMAR_NULL_ACK_CHANNEL -34

#endif   /* THMAR_TYPES_H */